package com.whf.android.jar.util.color;

/**
 * @author Stone
 * @version V1.0
 * @description:
 * @date 10/24/18 16:54
 * @email redsstone@163.com
 */
public class ColorRGB {


    private int r;
    private int g;
    private int b;

    protected ColorRGB() {
    }

    protected ColorRGB(int r, int g, int b) {
        this.r = r;
        this.g = g;
        this.b = b;
    }

    public int getR() {
        return r;
    }

    public void setR(int r) {
        this.r = r;
    }

    public int getG() {
        return g;
    }

    public void setG(int g) {
        this.g = g;
    }

    public int getB() {
        return b;
    }

    public void setB(int b) {
        this.b = b;
    }

    @Override
    public String toString() {
        return "ColorRGB{" +
                "r=" + r +
                ", g=" + g +
                ", b=" + b +
                '}';
    }
}
